html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(37, 50, 97, 0.8));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  scroll-behavior: smooth;

}
.home-head-section{
 background-image: url('kids hands up learning background .jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  color: #fff;
}

.home-head-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(4, 9, 27, 0.7); 
  z-index: 1;
}


.home-head-section > * {
  position: relative;
  z-index: 2;
}


.welcome-text{
  height: 600px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.home-images {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  
}

.home-images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.home-images-row img {
  width: 35%;
  min-width: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0.2,0.2,0.2,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-images-row img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}

@media (max-width: 768px) {
  .home-images-row img {
    width: 80%;
  }
}

.home-images2 {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  
}

.home-images-row2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.home-images-row2 img {
  width: 35%;
  min-width: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0.2,0.2,0.2,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-images-row2 img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}

@media (max-width: 768px) {
  .home-images-row2 img {
    width: 80%;
  }
}

.button-container {
  display: flex;
  justify-content: center;
  margin: 20px 0; 
}



#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  overflow: hidden;
  z-index: 0;
}


.particle {
  position: absolute;
  border-radius: 50%;
  background: #000000;
  opacity: 0.7;
  animation: float 10s linear infinite;
  z-index: 0;
}


@keyframes float {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10%{
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

section {
      padding: 15px 0;
        }

.container {
   padding: 0 20px;
   margin: 0 auto;
   max-width: 1400px;
   box-sizing: border-box;
 }

h1 {
    color: #fff; 
		font-family:'Times New Roman';
    font-weight: bold;
    font-size: 38px;
		text-align: center;
			
    }

  h2{
   color: #000000; 
   font-family:'Comic Sans';
   font-size: 34px;
	 text-align: center;
	 padding: 10px 10px;
   display: inline-block;
   margin-bottom: 15px;
   align-items: center;
   position: relative;
    }

  h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #0d1d56, #2547c3, #0d1d56);
  border-radius: 3px;
}

.p1{
	 font-family: 'Arial';
   line-height: 1.3;
   margin: 10px auto;
   color: #000000;
   text-align: center;
   padding: 5px;
   margin-top: 5px;
   max-width: 900px;
  }


 h3{
   color: #000000; 
   font-family:'Comic Sans';
   font-size: 34px;
	 text-align: center;
	 padding: 10px 10px;
   display: inline-block;
   margin-bottom: 15px;
   align-items: center;
   position: relative;
    }

  h3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #0d1d56, #2547c3, #0d1d56);
  border-radius: 3px;
}


        
h4{
          
   color: #000000;
   font-family:'Century' ;
   position: relative;
   display: inline-block;
   font-size: 24px;
   text-align: center;
   padding: 10px, 10px;
   margin-bottom: 15px;
  }

  h4::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #0d1d56, #2443b5, #0d1d56);
  border-radius: 3px;
}

  h5{
          
   color: #ffffff;
   font-family:'Century' ;
   font-size: 38px;
   text-align: center;
   padding: 10px, 10px;
   margin-bottom: 5px;
  }

  ul {
  list-style-type: none; 
  padding-left: 0;       
  margin-left: 0;        
}


  .contact-page{
     font-family: 'Arial';
   line-height: 1.3;
   margin: auto;
   color: #000000;
   text-align: center;
   padding: 5px;
   margin-top: 5px;
  }


 
  .p2{
	 font-family: 'Arial';
   line-height: 1.3;
   margin: 10px auto;
   color: #000000;
   text-align: center;
   padding: 5px;
   margin-top: 5px;
   max-width: 900px;
   }

  p, .p1, .p2, .contact-page{
opacity: 0;
animation: slideInUp 1s ease forwards;
  }

  h1, h2, h3, h4, h5{
    opacity: 0;
  animation: slideInLeft 1s ease forwards;
  }

   h1, h2, h3, h5{
  animation-delay: 0.3s;
  }

  h4{
   animation-delay: 0.7s; 
  }

  p, .p1, .p2{
    animation-delay: 1s;
  }

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Float from left */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Float from right */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-images-row img,
.home-images-row2 img,
.contact-images-row img,
.about-us-images-row img {
  animation: floatIn 1.2s ease forwards;
  opacity: 0;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.button {
   display: inline-block;
   padding: 10px 20px;
   background-color: rgba(4, 9, 27, 0.7); 
   color: #fff; 
   text-decoration: none;
   border-radius: 5px;
   border: 2px solid transparent;
   transition: all 0.4s ease;
   box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.button:hover {
background-color: #000000; 
transform: translateY(-5px) scale(1.05);
box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}

 nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      animation: fadeDown 1s ease forwards;
      opacity: 0;
    }

    @keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

nav img{
 width: 220px;
 height: auto; 
 border-radius: 15px; 
 opacity: 0.9; 
 transition: transform 0.3s ease, opacity 0.3s ease;
 animation: slideInLeft 1s ease forwards;
 opacity: 0;
}

nav img:hover {
  transform: scale(1.05);
  opacity: 1;
  
}

nav a {
   color: #fff;
   text-decoration: none;
   margin-left: 30px;
   font-weight: bold;
   font-size: 26px;
   display: inline-block;
   animation: slideInRight 1s ease forwards;
   opacity: 0;
   animation-delay: 0.3s; /* start slightly after logo */
    }

nav a:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
  
}


@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}



        @media (max-width: 768px) {
      nav {
        flex-direction: column;
      }

      nav a {
        margin: 0;
        padding: 0;
      }
    
    }

    .contact-head-section{
 background-image: url('Graduation Cap.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  color: #fff;
}

.contact-head-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(4, 9, 27, 0.7); 
  z-index: 1;
  
}


.contact-head-section > * {
  position: relative;
  z-index: 2;
}

.contact-welcome-text{
  height: 250px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.contact-images {
  padding: 30px 0;
  display: flex;
  justify-content: center;
}

.contact-images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.contact-images-row img {
  width: 35%;
  min-width: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-images-row img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}

.home-requirements-pic {
  padding: 30px 0;
  display: flex;
  justify-content: center;
}

.home-requirements-pic-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}


.home-requirements-pic-row img {
  width: 30%;
  min-width: 250px;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(
    50% 0%,   /* top */
    93% 25%,  /* top right */
    93% 75%,  /* bottom right */
    50% 100%, /* bottom */
    7% 75%,   /* bottom left */
    7% 25%    /* top left */
  );
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.home-requirements-pic-row img:hover {
  transform: translateY(-5px) scale(1.05);
 box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}


@media (max-width: 768px) {
  .home-requirements-pic-row img {
    width: 65%;
    clip-path: polygon(
      50% 0%,
      93% 25%,
      93% 75%,
      50% 100%,
      7% 75%,
      7% 25%
    );
  }
}


@media (max-width: 768px) {
  .contact-images-row img {
    width: 80%;
  }
}

.about-us-head-section{
 background-image: url('About us Head Pic.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  color: #fff;
}

.about-us-head-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(4, 9, 27, 0.7); 
  z-index: 1;
  
}


.about-us-head-section > * {
  position: relative;
  z-index: 2;
}

.about-us-images {
  padding: 30px 0;
  display: flex;
  justify-content: center;
}

.about-us-images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.about-us-images-row img {
  width: 33%;
  min-width: 250px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-images-row img:hover {
 transform: translateY(-5px) scale(1.05);
 box-shadow: 0 8px 20px rgba(18, 54, 182, 0.8);
}

@media (max-width: 768px) {
  .about-us-images-row img {
    width: 80%;
  }
}


.site-footer {
  background-color: rgba(4, 9, 27, 0.9);
  color: #ffffff;
  padding: 12px 15px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  position: relative;
  z-index: 2;
  border-top: 3px solid #0d1d56;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: left;
}

.footer-column h7 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #c0c0c0;
  border-bottom: 2px solid #0d1d56;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column p {
  font-size: 17px;
  line-height: 1.4;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 15px;
  font-size: 15px;
}

.footer-column li {
  margin: 12px 0;
}

.footer-column a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 20px ;
  border-top: 1px solid #2c3e8b;
  padding-top: 8px;
  font-size: 16px;
  color: #c0c0c0;
}

.footer-bottom p {
  margin: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
  }

  .footer-column {
    text-align: center;
    min-width: 100%;
    max-width: none;
    margin-bottom: 10px;
  }

  .footer-column{
    font-size: 16px;
  }

.footer-column p, .footer-column a {
    font-size: 15px;
  }


  .footer-column h7 {
    font-size: 16px;       
    color: #ffffff;        
    font-weight: bold;
    border-bottom: 2px solid #2c3e8b;
    padding-bottom: 3px;
    margin-bottom: 5px;
  }

  .footer-column p,
  .footer-column ul,
  .footer-column li,
  .footer-column a {
    font-size: 13px;       
    line-height: 1.3;
  }

  .footer-column a {
    color: #d0d0d0;
  }

  .footer-column a:hover {
    color: #ffffff;
    transform: none;
  }
}


.email-link, .gmail-link {
  color: #0d1d56;
  text-decoration: none;
  font-weight: bold;
}
.email-link:hover, .gmail-link:hover {
  text-decoration: underline;
}



  @media (max-width: 768px) {
  html, body {
font-size: 14px;
 
  }

.contact-page,
.contact-page p,
.contact-page h5 {
font-size: 16px; 
line-height: 1.5;
}

nav {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
  }

  nav img {
    width: 160px;
    margin-bottom: 10px;
  }

  nav a {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 16px;
    font-size: 24px; 
    color: #ffffff;
    border-radius: 4px;
    width: auto;
    max-width: none;
    text-align: center;
    transition: all 0.3s ease;
  }

   nav a:hover {
    transform: translateY(-3px) scale(1.03);
  }

  
  .welcome-text {
    height: auto;
    padding: 40px 10px;
  }

  h1 {
    font-size: 26px;
    line-height: 1.3;
    padding: 0 10px;
  }

  .button {
    padding: 8px 16px;
    font-size: 16px;
  }

 
  .home-images-row img,
  .contact-images-row img,
  .about-us-images-row img {
  width: 95%;
  min-width: 280px;
  }

  
  h2, h3, h4, h5 {
    font-size: 22px;
    padding: 5px;
  }

  p, .p1, .p2 {
    padding: 10px 10px;
    font-size: 16px;
    line-height: 1.3;
  }

  .footer-column p, .footer-column a {
    font-size: 14px;
  }
}



@media (max-width: 480px) {
  h1 { font-size: 22px; }
  h2, h3, h4, h5 { font-size: 20px; }
  nav a { font-size: 10px; }
  .button { font-size: 14px; padding: 6px 14px; }
}
